﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HitchHikersGuideToTheGalaxy.Models
{
    public interface ITourDestRepository
    {
        // Default Add, Delete and save actions
        void Add(TourDest tourDest);
        void Delete(TourDest tourDest);
        void Save();

        // Querys
        IQueryable<TourDest> FindAllTourDests();
        IQueryable<TourDest> FindUpcomingTourDests();
        TourDest GetTourDest(int id);
        IQueryable<TourDest> FindUpcomingTourDestsByLocation(String location);
    }
}
